package com.vehicle.mapper;

import com.vehicle.pojo.Dept;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DeptMapper {
    //根据部门id查询部门
    public Dept selectDeptByDid(@Param("deptid") Integer deptid);
    //根据员工id分布查询部门
    public Dept selectDeptByUid();
    //查询所有部门
    public List<Dept>  selectAllDept();
}
